﻿using System;
using System.Collections.Generic;
using System.Text;

namespace Ecreate.Popedom.Dao.Hibernate
{
    public class CommDao
    {
        public static IList<T> QueryForList<T>(string hql)
        {
            NHibernate.ISession s = Utility.getSession();
            return s.CreateQuery(hql).List<T>();
        }
    }
}
